Piwik\Plugins\MultiSites\API A

Total Complexity 64
Dependencies 20
Dependents 3
Total lines 416
Lines of code 237
Logical lines of code 164
Comment lines 119
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
buildDataTable()
B
36 19 77
calculateEvolutionPercentages()
S
53 7 20
setPreviousMetricsTotalsMetadata()
S
51 6 26
getSitesIdFromPattern()
S
56 5 16
getAll()
S
57 5 15
getApiMetrics()
S
56 4 16
setMetricsTotalsMetadata()
S
58 4 16
getAllWithGroups()
S
57 4 14
getOne()
S
65 2 8
preformatApiMetricsForTotalsCalculation()
S
66 2 8
populateLabel()
S
66 2 8
filterRowsForTotalsCalculation()
S
75 1 4
getTotalMetadataName()
S
80 1 3
getLastPeriodMetadataName()
S
80 1 3
isEcommerceEvolutionMetric()
S
77 1 3